export interface RecordListItem {
  id: number
  problem: string
  solution: string
  filePath: string
  lineRange: string
  createdAt: string
  tags?: string[]
}

export interface RecordListConfig {
  showDebugInfo: boolean
  iconFontCssPath: string
}

export interface RecordListMessage {
  type: 'recordClick' | 'openRecordReference' | 'editRecord' | 'deleteRecord' | 'generateComment' | 'updateRecordReference' | 'filterByTag'
  recordId?: number
  tag?: string
}
